home *** CD-ROM | disk | FTP | other *** search
/ Aminet 30 / Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso / Aminet / misc / math / MathFX_src.lha / movwor.c < prev    next >
C/C++ Source or Header  |  1995-12-20  |  333b  |  22 lines

  1. /* MOVE AND DRAW ROUTINES IN WORLD COORDINATES */
  2.  
  3. /* Move to world coordinates (x,y) */
  4.  
  5. #include "mathfx.h"
  6.  
  7. void movwor(x,y)
  8. float x,y;
  9. {
  10.    scurr(wcpcx(x),wcpcy(y));
  11. }
  12.  
  13. /* Draws to world coordinates (x,y) */
  14.  
  15. void drawor(x,y)
  16. float x,y;
  17. {
  18.    int currx, curry;
  19.    gcurr(&currx,&curry);
  20.    fxlclp(currx,curry,wcpcx(x),wcpcy(y));
  21. }
  22.